package com.study.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.study.system.common.model.Option;
import com.study.system.model.entity.SysDictType;
import com.study.system.model.form.DictTypeForm;
import com.study.system.model.query.DictTypePageQuery;
import com.study.system.model.vo.DictTypePageVO;

import java.util.List;


public interface SysDictTypeService extends IService<SysDictType> {


    Page<DictTypePageVO> getDictTypePage(DictTypePageQuery queryParams);



    DictTypeForm getDictTypeForm(Long id);



    boolean saveDictType(DictTypeForm dictTypeForm);



    boolean updateDictType(Long id, DictTypeForm dictTypeForm);


    boolean deleteDictTypes(String idsStr);



    List<Option> listDictItemsByTypeCode(String typeCode);
}
